import { config, ServiceType } from '../config';
if (config.type.find(x => x == ServiceType.API)) {
    require('./api/authCtrl');
    require('./api/userCtrl');
    require('./api/workflowCtrl');
    require('./api/pageCtrl');
    require('./api/templateCtrl');
    require('./api/organizationCtrl');
    require('./api/accountCtrl');
    require('./api/accountPermitsCtrl');
    require('./api/departmentCtrl');
    require('./api/organizationTreeCtrl');
    require('./api/roleCtrl');
}

require('./systemCtrl');
require('./resourceCtrl');